Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

108
Visualizações
My SVG "StateSignal13" is still shown after triggering. What's wrong?

My SVG "StateSignal13" is still shown after triggering Bestätigung_ÖFFNET and Bestätigung_SCHLIESSET. Visibility doesn't work at all. What's wrong?

var LE1BO = LeitstandSCHENKERRadeburg.getVariable("Siemens LOGO 8 NR1.Bestätigung_ÖFFNET");
var LE1BS = LeitstandSCHENKERRadeburg.getVariable("Siemens LOGO 8 NR1.Bestätigung_SCHLIESSET");

function ZustandLE1(){

    if (LE1BO == "True") {
                        LeitstandSCHENKERRadeburg.setVariable("Intern.ZustandLE1","True");
                        LeitstandSCHENKERRadeburg.setProperty("LeitstandSCHENKERRadeburg.StateSignal13.visibility", "visible");
    }else {
            LeitstandSCHENKERRadeburg.setProperty("LeitstandSCHENKERRadeburg.StateSignal13.visibility", "hidden");
            }
    
    if (LE1BS == "True") {
        LeitstandSCHENKERRadeburg.setVariable("Intern.ZustandLE1","False");
        LeitstandSCHENKERRadeburg.setProperty("LeitstandSCHENKERRadeburg.StateSignal13.visibility", "visible");
    }else {
            LeitstandSCHENKERRadeburg.setProperty("LeitstandSCHENKERRadeburg.StateSignal13.visibility", "hidden");
            }
}

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

Not sure what type LeitstandSCHENKERRadeburg is representing. But assuming it's an HTML element the setProperty function is not applied correctly.

Take a look at the documentation of it.
If you want to adjust the styling of your element you will need to access it like so:

LeitstandSCHENKERRadeburg.style.setProperty('visibility', 'hidden')
about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda